package com.tjf.myjetpackdemo.Decorator;

/**
 * @author: tjf
 * @date: 2023-06-07
 * @desc：
 */
public class BasePizza extends Pizza {

    @Override
    public String getName() {
        this.name = "原味";
        return this.name;


    }

    @Override
    public double getPrice() {
        this.price = 30;
        return this.price;
    }
}
